#include "TraceLog.h"

void bar()
{
    XL_WARNING_FUNCTION();

    XL_INFO(L"%s", L"In function bar.");

    XL_FATAL(L"Fatal.");
    XL_ERROR(L"Error.");
    XL_WARNING(L"Warning.");
    XL_INFO(L"Info.");
    XL_VERBOSE(L"Verbose.");
}

void foo()
{
	XL_INFO_FUNCTION();

    XL_INFO(L"%s", L"In function foo.");

    bar();
}

int main()
{
    XL_VERBOSE_FUNCTION();

    foo();

    return 0;
}

